package com.cooba.utils;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;

/**
 * Created by Administrator on 2016/1/7.
 * 分页数据库
 */
public class FenMySql extends SQLiteOpenHelper {
    private static final String FENNAME = "fen.db";
    private static int version = 1;

    public FenMySql(Context context) {
        super(context, FENNAME, null, version);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table fen_date( min_id varchar(1000),max_id varchar(1000))");
        Log.e("db", "分页数据库创建了");
    }


    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
